<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>My friends list</title>
</head>
<body>
	<h4>친구 리스트</h4>
	<!-- 이건 ajax를 이용해서 메인페이지 어느 한 구석에서 누르면 친구들 목록이 나오게 하자. -->
	<table>
		<tr>
			<td>친구ID</td>
			<td>삭제</td>
		</tr>
		<c:forEach items="${sessionScope.friendList }" var="board">
			<tr>
				<td>${board.friendId }</td><td><a href="${initParam.root_path }/friendList/deleteFriendList.do?no=${board.no}&id=${sessionScope.login_info.id}">친구삭제</a></td>
			</tr>
		</c:forEach>
	</table>
</body>
</html>